using PBMessage;
using UnityEngine;
using System.Collections;

public class SC_EnterGameScene_Handler :IPBHandler
{ 
    public void Exec(object packet) 
    {
        SC_EnterGameScene PacketData = (SC_EnterGameScene)packet;
        Hashtable mapDic = (Hashtable)MapTableMgr.MapIndexTable[PacketData.MapId];
        Game.Scene.LoadScene<GameScene>(mapDic,PacketData.PlayerList);
        Game.UI.Close("MatchBattle");
    }
}
